#pragma once

#include <QWidget>
#include <QVector>
#include <QTableWidget>
#include <QHeaderView>
#include "ui_NewsCellTableWidget.h"
#include "NewsCellWidget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class NewsCellTableWidgetClass; };
QT_END_NAMESPACE

class NewsCellTableWidget : public QWidget
{
	Q_OBJECT

public:
	NewsCellTableWidget(QWidget *parent = nullptr);
	~NewsCellTableWidget();
	void setUi(const QVector<NewsCellWidget*> & qVec);
private:
	Ui::NewsCellTableWidgetClass *ui;
	QTableWidget* tableWidget;
};
